<template>
    <view>
		
     <web-view :webview-styles="webviewStyles" :src="url" @message="getMessage"></web-view>
		<!-- <iframe :src="url" id="btn"></iframe> -->
    </view>
</template>

<script>
    export default {
        data() {
            return {
                webviewStyles: {
                    progress: {
                        color: '#FF3333'
                    }
                },
                url: ''

            }
        },
		mounted() {
			
			if(window.location!=='undefined'){
				window.location.href="https://www.hailu1688.com/merchant-entry-h5/html/life-circle/step-1.html?source=login&type=h5";
			}
			
			
		},
        onLoad(options) {
			
            if (options && options.url) {
               this.url='https://www.hailu1688.com/merchant-entry-h5/html/life-circle/step-1.html?source=login&type=h5'
            }
        },
        methods: {
			
        }
    }
</script>
<style>
	#btn{
		position: fixed; 
		display: block; 
		border: 0px; 
		top: 0px;
		bottom: 0; 
		left: 0;
		height: 100vh;
		width: 100vw;
	}
</style>